package com.hr.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hr.entity.AoaRole;
import com.hr.mapper.AoaNoticeListMapper;
import com.hr.entity.AoaNoticeList;
import com.hr.service.AoaNoticeListService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (AoaNoticeList)表服务实现类
 *
 * @author makejava
 * @since 2022-06-19 14:19:25
 */
@Service("aoaNoticeListService")
public class AoaNoticeListServiceImpl extends ServiceImpl<AoaNoticeListMapper, AoaNoticeList> implements AoaNoticeListService {

    @Override
    public Page<AoaNoticeList> queryList(Page<AoaNoticeList> page) {
        return baseMapper.queryList(page);
    }

    @Override
    public AoaNoticeList queryById(Integer noticeId) {
        return baseMapper.queryById(noticeId);
    }

    @Override
    public Integer queryMax() {
        return baseMapper.queryMax();
    }

//    @Override
//    public List<AoaNoticeList> queryListAll(Page<AoaRole> page) {
//        return baseMapper.queryListAll(page);
//    }
}

